package com.xb.cloud.product.service.business.model;

import java.util.List;
import java.util.Map;
/**
 * 搜索调用阿里云open search返回的数据格式
 * @ClassName:  SearchALiResultBo   
 * @Description:TODO
 * @author: 鲜备科技
 * @date:   2018年3月7日 下午6:07:06   
 *     
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved. 
 *
 */
public class SearchALiResultBo {
	private String status;
	private String request_id;
	private String[] errors;
	private String tracer;
	private Result  result;
	public Result getResult() {
		return result;
	}
	public void setResult(Result result) {
		this.result = result;
	}
	public SearchALiResultBo() {
		// TODO Auto-generated constructor stub
	}
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRequest_id() {
		return request_id;
	}

	public void setRequest_id(String request_id) {
		this.request_id = request_id;
	}

	public String[] getErrors() {
		return errors;
	}

	public void setErrors(String[] errors) {
		this.errors = errors;
	}

	public String getTracer() {
		return tracer;
	}

	public void setTracer(String tracer) {
		this.tracer = tracer;
	}
	
	

public static class Result {
		private int total;
		private double  searchtime;
		private List<Map<String, String>> items;
		public Result() {
			// TODO Auto-generated constructor stub
		}
		public int getTotal() {
			return total;
		}
		public void setTotal(int total) {
			this.total = total;
		}
		public double getSearchtime() {
			return searchtime;
		}
		public void setSearchtime(double searchtime) {
			this.searchtime = searchtime;
		}
		public List<Map<String, String>> getItems() {
			return items;
		}
		public void setItems(List<Map<String, String>> items) {
			this.items = items;
		}
		
}
	

	
}
